package com.spark.lola.support.wms.vo;

import com.alibaba.fastjson.JSON;
import com.spark.lola.support.wms.dto.OrderDto;
import lombok.Data;

/**
 * @Author: DengYeJun
 * @Date: 2020/5/11 19:24
 */
@Data
public class NettyOrderMessage {
    public NettyOrderMessage(){}
    public NettyOrderMessage(String orderId,String orderNo,Integer status,String message){
        this.orderId = orderId;
        this.orderNo = orderNo;
        this.status = status;
        this.message = message;
    }
    /**
     * 订单ID
     */
    private String orderId;
    /**
     * 订单号
     */
    private String orderNo;
    /**
     * 状态
     */
    private Integer status;
    /**
     * 消息
     */
    private String message;

    @Override
    public String toString(){
        return JSON.toJSONString(this);
    }
}
